package org.innovasix.educational.javap.domain.constantpool;

import java.util.logging.Logger;

import org.innovasix.educational.javap.domain.datatypes.cp_info;
import org.innovasix.educational.javap.domain.datatypes.method_info;
import org.innovasix.educational.javap.domain.parser.ByteQueue;
import org.innovasix.educational.javap.domain.parser.ClassParser;

public class MethodsEntryFactory {

	private static final Logger log = Logger.getLogger(MethodsEntryFactory.class.getName());
	
	public static method_info createNextEntry(ByteQueue byteQueue) {
		
		method_info mi = new method_info();
		
		mi.setAccess_flags(byteQueue.pollTwoBytes("MethodsEntryFactory.createNextEntry"));
		
		mi.setName_index(byteQueue.pollTwoBytes("MethodsEntryFactory.createNextEntry"));
		
		mi.setDescriptor_index(byteQueue.pollTwoBytes("MethodsEntryFactory.createNextEntry"));
		
		mi.setAttributes_count(byteQueue.pollTwoBytes("MethodsEntryFactory.createNextEntry"));
		return null;
		
	}
}
